<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>LeisBlog | Login</title>
        <link href="/static/css/bootstrap.min.css" rel="stylesheet">
        <link href="/static/font-awesome/css/font-awesome.css" rel="stylesheet">
        <link href="/static/css/animate.css" rel="stylesheet">
        <link href="/static/css/style.css" rel="stylesheet">
        <style>
            body{
                display:flex;
                justify-content:center;
                align-items:center;
            }
        </style>
        <script data-main="/static/js/admin-frame.js" src="/static/js/require.min.js"></script>
    </head>

    <body class="gray-bg">

        <i id="scriptTag">/static/js/admin/admin-login.js</i>
        <div class="website-skin" style="background-image:url(/static/img/skin/<?php echo $bgimg_num; ?>.jpg);"></div>
        <div class="middle-box text-center loginscreen animated fadeInDown">
            <img src="<?php echo $site_icon; ?>" class="img-circle site-icon">
            <form class="m-t" role="form">
                <div class="form-group">
                    <input type="text" id="username" class="form-control" placeholder="Username" required="" name="username">
                </div>
                <div class="form-group">
                    <input type="password" id="password" class="form-control" placeholder="Password" required="" name="password">
                </div>
                <button id="login-btn" type="button" class="btn btn-primary block full-width m-b" >Login</button>
                <p><?php echo $welcome_msg . '管理员！'; ?></p>
            </form>
            <p class="m-t"> <small>Welcome!&emsp;&copy;Lei Zhang&emsp;粤ICP备16020962号</small> </p>
            <div id="spinner-wrap"></div>
        </div>

    </body>

</html>


